<%@ page import="bean.Alumno" %>
<%@ page import="java.util.ArrayList" %>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<table align="center" cellpadding="0" cellspacing="1">
<tr>
<td>Codigo:</td>
<td>Nombre</td>
<td>Apellido</td>
<td>Edad</td>
<td>Carrera</td>
<td>Pasatiempos</td>
<td>Sexo</td>
<%
	ArrayList<Alumno> u= (ArrayList<Alumno>)
		request.getAttribute("listadito");
	for(int i=0;i<u.size();i++ ){
		Alumno alum=u.get(i);%>
		<tr>
			<td><%=alum.getCodigo() %> </td>
			<td><%=alum.getNombre() %> </td>
			<td><%=alum.getApellido() %> </td>
			<td><%=alum.getEdad() %> </td>
			<td><%=alum.getCarrera() %> </td>
			<td><%=alum.getPasatiempos() %> </td>
			<td><%=alum.getSexo() %> </td>
		</tr>	
		<%} %>
</table>
</body>
</html>